function initInvite(){jQuery("input[name='copyUrl']").val(jQuery("input[name='copyUrl']").val()+escape(jQuery("input[name='userName']").val()));jQuery("#btnCopy").bind("click",function(){if(document.all){window.clipboardData.setData("text",jQuery("input[name='copyUrl']").val());alert("复制成功！");}else{alert("复制失败！请尝试全选文字之后用'ctrl+c'复制！")}})}initInvite();
function bookmark(){
	var favorite="路远商城";
	var httpUrl="http://www.fzlybio.com/";
    if(document.all){
        window.external.AddFavorite(httpUrl,favorite);
    }
    else{
        if(window.sidebar){
            window.sidebar.addPanel(favorite,httpUrl,"");
        }
    }
}

function showMore(toggle, id, action) {
	jQuery(toggle).parent().find('a').toggle();
	if (action === 'more') {
		jQuery('#'+id).find('a').show();
	} else if (action === 'back') {
		jQuery('#'+id).find('a').each(function(i) {
			if (i > 18) {
				jQuery(this).hide();
			}
		});
	}
}